﻿$(function () {
    search();
});
function search(pageNumber) {
    var queryData = {
        triageId: $("#txtPName").val()
    }
    initTable(queryData, 1);
}
function initTable(queryData, pageNumber) {
    $("#maingrid").ligerGrid({
        checkbox: false,
        height: '100%',
        url: '/TraumaCenter/InspectionReport/Search?ram=' + new Date().getMilliseconds(),
        parms: queryData,
        page: pageNumber,
        pageSize: 30,
        rownumbers: false,
        heightDiff: -5,
        columns: [
{ display: '图像', name: '', minWidth: 50 },
{ display: '报告', name: '', minWidth: 50 },
{ display: '姓名', name: '', minWidth: 50 },
{ display: '性别', name: '', minWidth: 50 },
{ display: '年龄', name: '', minWidth: 50 },
{ display: '单位', name: '', minWidth: 50 },
{ display: '来源', name: '', minWidth: 50 },
{ display: '病历号', name: '', minWidth: 50 },
{ display: '检查号', name: '', minWidth: 50 },
{ display: '检查项目', name: '', minWidth: 50 },
{ display: '检查部位', name: '', minWidth: 50 },
{ display: '科室', name: '', minWidth: 50 },
{ display: '检查时间', name: '', minWidth: 50 }
        ],
        isScroll: true
    });
}